
package com.ifcar.app.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class OlympicGameScheduleBean implements Serializable {

    private static final long serialVersionUID = 664044852448656050L;
    public static long ExpiredDuration = 2 * 24 * 60 * 60 * 1000;

    private Map<String, Map<String, Object>> group = new HashMap<String, Map<String, Object>>();
    private Map<String, List<Map<String, Object>>> child = new HashMap<String, List<Map<String, Object>>>();

    private int length;

    public void addGroup(int i, Map<String, Object> first){
        group.put(String.valueOf(i), first);
    }

    public void addChild(int i, List<Map<String, Object>> second) {
        child.put(String.valueOf(i), second);
    }

    public Map<String, Object> getGroup(int i) {
        return group.get(String.valueOf(i));
    }

    public List<Map<String, Object>> getChild(int i) {
        return child.get(String.valueOf(i));
    }

    public void setLengh(int len) {
        length = len;
    }

    public int getLength() {
        return length;
    }
}
